﻿<%@ Page Title="" Language="C#" MasterPageFile="~/virtualWeb/user/loginMaster.Master"
    AutoEventWireup="true" CodeBehind="new_register_callback.aspx.cs" Inherits="huaguwang.virtualWeb.user.new_register_callback" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HEAD" runat="server">
    <link href="/CSS/css_register.css" rel="stylesheet" type="text/css" />

    <script>
        var qu = new QueryString();
        var msg = qu["msg"];
        $.getJSON("/user/userfunction.aspx?stype=4", { p1: msg }, function(json) {
            if (json.success == "False") {
                alert(json.Msg);
                location.replace("new_register.aspx");
            }

        });

        $(function() {
            $("#btn_QD").click(function() {
                var btn = $("#btn_QD");
                var ts = $("#span_ts");
                var yj = $("#txtYJ").attr("value");
                var sj = $("#txtSJ").attr("value");
                btn.hide();
                ts.text("资料保存中...");
                $.getJSON("/user/userfunction.aspx?stype=5", { p1: msg, p2: yj, p2: sj }, function(json) {
                    if (json.success == "False") {
                        btn.show();
                        ts.text(json.Msg);
                        //alert("注册失败，请重新注册");
                    } else {
                        btn.hide();
                        ts.text("注册成功，请登录");
                        alert("注册成功，请登录");
                        location.replace("/user/login.html");
                    }

                });
            });
        });
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BODY" runat="server">
    <div id="red_septal_red">
        <img src="/images/login_register/new_register_menu2.gif" /></div>
    <div id="content_left">
        <div id="input_content">
            <div class="out">
                电子邮箱：<input type="text" class="input_txt" id="txtYX" /></div>
            <div class="out">
                手机号码：<input type="text" class="input_txt" id="txtSJ" /></div>
        </div>
        <div id="btn_postion_finish">
            <input type="button" id="btn_QD" class="btn_register_finish" />
            <span id="span_ts"></span>
            <div id="return_back">
                <a href="new_register.aspx"><font class="font_13" color="#3366cc">返回上一步</font></a></div>
        </div>
        <div id="content_right">
            <img src="/images/login_register/new_register_AD.gif" />
        </div>
    </div>
</asp:Content>
